package com.healthy.controller;

import com.healthy.common.Res;
import com.healthy.entity.Customercare3;
import com.healthy.service.Customercare3Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/customercare3")
public class Customercare3Controller {

    @Autowired
    Customercare3Service customercare3Service;

    @GetMapping("/list")
    public Res cuLIst (Customercare3 customercare3){
        return new Res(1,"成功",customercare3Service.cuList());
    }
}
